<?php
session_start();
if (!isset($_SESSION['email'])) {
    header("Location:../../index.php");
}
require '../../conexao.php';
?>

<div id="contact">
    <fieldset class="formulario" style="width:300px;margin-top:5%">
        <legend style="font-size:16px;">Cadastro de Usuario</legend>
        <form>
            <table>  
                <tr> 
                    <td>
                        <div style='font-weight: bold;'>
                            Nome:
                    </td>
                    <td>
                        <input required type="text" style="padding-right: 10px;"/>
                    </td>
                    </div>

                </tr>
                <tr>
                    <td>
                        <div style='padding-top: 10px; font-weight: bold;'>
                            E-mail:
                    </td>
                    <td>
                        <input required type="text"/><br />
                    </td>
                    </div>
                </tr>
                <tr>
                    <td>
                        <div style='padding-top: 10px; font-weight: bold;'>
                            Senha:
                    </td>
                    <td>
                        <input required type="text" /><br />
                    </td>
                    </div>
                </tr>
                <tr  >
                    <td>
                        <div style='padding-top: 10px; font-weight: bold;'>
                            Tipo Usuario:
                    </td>
                    <td style='padding-left:30px;'>
                        <select required  style="width:200px; height:30px;" >
                            <option selected="selected" value="">Selecione</option>
                            <option value="A">Aluno</option>
                            <option value="P">Professor</option>
                        </select><br />
                    </td>
                    </div>
                </tr>
                <tr>
                    <td>
                        <div style='padding-top: 10px;'>
                            <input type="image" src="img/botao_enviar.png" />
                        </div>
                    </td>
                </tr>
        </form>
    </fieldset>
</div>
